const { regClass } = Laya;
import { LoseBase } from "./Lose.generated";

@regClass()
export class Lose extends LoseBase {
    onEnable(): void {
        this.on(Laya.Event.CLICK, this, this.hideMe);
    }

    private hideMe() {
        this.visible = false;
    }
}